home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / gopher / Unix / gopher+1.2b4 / Makefile.config < prev    next >
Encoding:
Makefile  |  1993-04-15  |  7.3 KB  |  243 lines

  1. #------------------------------------------------
  2. #  This is where most of the configuration parameters are defined
  3. #  also see conf.h
  4. #
  5.  
  6. #********************************************************************
  7. # lindner
  8. # 3.3
  9. # 1993/04/15 22:02:32
  10. # /home/mudhoney/GopherSrc/CVS/gopher+/Makefile.config.dist,v
  11. # Exp
  12. #
  13. # Paul Lindner, University of Minnesota CIS.
  14. #
  15. # Copyright 1991, 1992 by the Regents of the University of Minnesota
  16. # see the file "Copyright" in the distribution for conditions of use.
  17. #********************************************************************
  18. # MODULE: Makefile.config.dist
  19. # Parameters for the gopher distribution
  20. #*********************************************************************
  21. # Revision History:
  22. # Makefile.config.dist,v
  23. # Revision 3.3  1993/04/15  22:02:32  lindner
  24. # CLIENTOPTS added
  25. #
  26. # Revision 3.2  1993/03/19  19:41:46  lindner
  27. # updates for sco
  28. #
  29. # Revision 3.1.1.1  1993/02/11  18:02:49  lindner
  30. # Gopher+1.2beta release
  31. #
  32. # Revision 1.7  1993/02/09  21:34:03  lindner
  33. # New MAN5DIR line, changed install to install -c
  34. #
  35. # Revision 1.6  1993/01/19  04:52:22  lindner
  36. # Renamed Makefile.config to Makefile.config.dist
  37. #
  38. # Revision 1.5  1993/01/13  16:19:58  lindner
  39. # Changes for SVR4 (add -lnsl to libs line..)
  40. #
  41. # Revision 1.4  1992/12/28  21:45:48  lindner
  42. # Removed trailing slash on CLIENTLIB
  43. #
  44. # Revision 1.3  1992/12/21  20:38:05  lindner
  45. # Added warning about -DBIO (from dgg)
  46. #
  47. # Revision 1.2  1992/12/13  06:10:26  lindner
  48. # Fixed SVR4LIBS line (didn't need bsd stuff anymore) also removed HPLIBS
  49. #
  50. # Revision 1.1  1992/12/10  22:57:05  lindner
  51. # Initial revision
  52. #
  53. #
  54. #********************************************************************/
  55.  
  56.  
  57.  
  58.  
  59.  
  60. #------------------------------------------------
  61. # Your favorite C compiler
  62. #
  63. # Note that sun international users should use /usr/5bin/cc instead of cc
  64. #
  65. # Sco's cc compiler gives lots of problems that gcc will fix, and gcc
  66. # is now reasonably easy to get running under SCO. Using this removes 
  67. # the need for -UM_XENIX -DSCO_UNIX as used for gopher1.1
  68. # note that if you use gcc, you'll also need -lintl in SCOLIBS
  69. #
  70.  
  71. CC = cc
  72.  
  73. #------------------------------------------------
  74. # Optimization level.
  75. #
  76.  
  77. OPT=-g
  78. #OPT=-O
  79.  
  80. #------------------------------------------------
  81. # System Selection,  note that you won't have to edit
  82. # unless you have compilation problems.
  83. #
  84. # Add -DUSG        for System V
  85. #     -DBSD        for BSD
  86. #     -DPOSIXWAIT  if you have waitpid() instead of wait3()
  87.  
  88. GSYSTYPE=
  89.  
  90. #------------------------------------------------
  91. # The ranlib command on your system.  A/UX (and probably other sysv's
  92. # should change this to "touch"
  93. # Known to need changing on: A/UX, SCO3.2.4, IRIX
  94.  
  95. RANLIB = ranlib
  96.  
  97. #------------------------------------------------
  98. # The install command on your system.  OSF/1 should change this
  99. # to installbsd
  100. #
  101. # SCO ODT systems should change this to bsdinst
  102. #    other SCO systems can duplicate this functionality easily 
  103. #    dont use SCO's "install" program it behaves totally differently
  104. # IBM AIX systems should change this to /usr/ucb/install
  105. #
  106.  
  107. INSTALL = install -c
  108.  
  109. #-------------------------------------------------
  110. # Where shall we install stuff?
  111. #
  112. PREFIX          = /usr/local
  113. CLIENTDIR    = $(PREFIX)/bin
  114. CLIENTLIB       = $(PREFIX)/lib
  115. SERVERDIR    = $(PREFIX)/etc
  116. # On SCO manuals are in /usr/man but its easiest to do a 
  117. # symbolic link from /usr/local/man to /usr/man for this and other packages
  118. MAN1DIR        = $(PREFIX)/man/man1
  119. MAN5DIR         = $(PREFIX)/man/man5
  120. MAN8DIR        = $(PREFIX)/man/man8
  121.  
  122.  
  123. #-----------------------------------------------------------------
  124. # Optional server features.
  125. #
  126. # Add -DLOADRESTRICT if you want to restrict access based on load avg.
  127. #     (Note you'll need to add -lkvm in SERVERLIBS)  Note also that this has
  128. #     only been tested under SunOS 4.1.1
  129. #
  130. # Add -DBIO if you're using the biology portion of Don Gilbert's modified
  131. #     wais8b5 that supports boolean and phrase searching.
  132. #     PLEASE NOTE: the -DBIO option is NOT needed nor recommended for use
  133. #     of the boolean and phrase searching portion of this modified wais,
  134. #     just the symbol searching.  But, you must compile wais and gopher with
  135. #     the same option setting (-DBIO or NOT).
  136. #     The source can be gotten from:
  137. #
  138. #       ftp.bio.indiana.edu
  139. #
  140. # Add -DDL and define DLPATH and DLOBJS if you want to include support
  141. #      for Tim Cook's 'dl' databases You will also have to have a
  142. #      working copy the program with source code in the DLPATH
  143. #      directory. The files getdesc.o and enddesc.o must be there.
  144. #      Source for dl can be gotten from:
  145. #
  146. #       admin.viccol.edu.au
  147. #       pub/dl/describe-1.8.tar.Z  or higher...
  148. #
  149. #
  150. # Add -DUMNDES if you'd like to try out the Admit1 protocol extension
  151. #
  152. # Add -DCAPFILES if you want compatibility with the older .cap directory
  153. #
  154.  
  155. SERVEROPTS    = #-DUMNDES -DBIO #-DDL # -DLOADRESTRICT
  156. DLPATH        = /home/mudhoney/lindner/src/describe
  157. #DLOBJS        = $(DLPATH)/getdesc.o $(DLPATH)/enddesc.o
  158.  
  159. #-----------------------------------------------------------------
  160. # Optional client features.
  161. #
  162. # Add -DREMOTEUSER if you want to support the -r option on remotely connected
  163. #    users.
  164. #
  165. # Add -DNOMAIL if you don't want remote users mailing documents
  166. #
  167.  
  168. CLIENTOPTS = #-DNOMAIL -DREMOTEUSER
  169.  
  170.  
  171. #--------------------------------------------------
  172. # Libraries for clients and servers
  173. #    Ultrix needs -lcursesX instead of -lcurses
  174. #
  175. #--------------------------------------------------
  176. # Libraries...  Uncomment out SEQLIBS  if compiling on sequent Dynix,
  177. #                  "       "  PTXLIBS  if compiling on sequent Dynix/ptx,
  178. #                  "       "  UMAXLIBS if compiling under UMAX,
  179. #                  "       "  SCOLIBS  if compiling under SCO Unix.
  180. #
  181. #
  182. # Note: SCOLIBS needs -lintl if using gcc to compile in order to find strftime
  183. #
  184. #UMAXLIBS    = -lresolv
  185. #LOADLIBS    = -lkvm
  186. #SEQLIBS        = -lseq
  187. #PTXLIBS        = -lseq -lsocket -linet -lnsl
  188. #SCOLIBS        = -lsocket -lintl
  189. #SVR4LIBS    = -lsocket -lnsl
  190.  
  191. OTHERLIBS    =  $(HPLIBS) $(UMAXLIBS) $(SEQLIBS) $(PTXLIBS) $(SCOLIBS) \
  192.            $(SVR4LIBS)
  193.  
  194. CLIENTLIBS     = -lcurses -ltermcap -lgopher $(OTHERLIBS)
  195. SERVERLIBS     = -lm -lgopher $(OTHERLIBS) $(LOADLIBS)
  196.  
  197.  
  198. #-----------------------------------------------------------------
  199. # If your hostname command returns the Fully Qualified Domain Name
  200. # (i.e. it looks like foo.bar.edu and not just foo) then make
  201. # the domain name a null string.  Otherwise put in the rest of
  202. # your domain name that `hostname` doesn't return.
  203. # Set to Null on SCO3.2.4
  204.  
  205. DOMAIN        = .micro.umn.edu
  206.  
  207.  
  208. #-----------------------------------------------------------------
  209. # SERVERDIR is the default directory for gopherd.  It can be 
  210. # overridden on the command line
  211. #
  212. # SERVERPORT is the default port for gopherd.  It too can be
  213. # overridden on the command line.
  214.  
  215. SERVERDATA    = /home/mudhoney/gopher-data
  216. SERVERPORT    = 70
  217.  
  218.  
  219.  
  220. #-----------------------------------------------------------------
  221. # Compatibility defines
  222. #
  223. # If you don't have the strstr() function call then add -DNOSTRSTR
  224. #
  225. # Most of these are automatically defined via the built in compiler 
  226. # definitions.  Don't worry about them unless you have problems
  227. #
  228.  
  229. COMPAT = # -DNOSTRSTR # -DNO_STRDUP # -DNO_BZERO # -DNO_TMPNAM
  230.  
  231.  
  232. #-----------------------------------------------------------------
  233. # Stuff that follows shouldn't be changed
  234. #
  235.  
  236. OBJINCLUDES     = -I../object
  237. OTHERINCLUDES    = -I.. -I../ir -I../ui
  238. INCLUDES    = $(OBJINCLUDES) $(OTHERINCLUDES)
  239.  
  240. LDFLAGS        = -L../object
  241. SHELL        = /bin/sh
  242.